<?php
    class MyClass {
        function foo():\Company\MyClass{
        }
    }
